package cn.com.sinosoft.exam.page;

import org.apache.commons.lang.StringUtils;
import org.springframework.web.context.request.NativeWebRequest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 * 分页参数
 * @author 刘韵琴
 *
 */
@ApiModel("分页参数")
public class PageParam {
	
	/**
	 * 页码
	 */
	@ApiModelProperty("页码")
	int page;
	
	/**
	 * 记录数
	 */
	@ApiModelProperty("条目")
	int limit;

	@Override
	public String toString() {
		return "PageParam{" +
				"page=" + page +
				", limit=" + limit +
				'}';
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}
}
